<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:100:"G:\phpstudy\PHPTutorial\WWW\xxm.com\public/../project/app/admin\view\pool_bid\pool_bid_not_list.html";i:1557974880;s:89:"G:\phpstudy\PHPTutorial\WWW\xxm.com\public/../project/app/admin\view\layout_menu_all.html";i:1557974874;}*/ ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Cache-Control" content="max-age=2592000" />
    <title><?php echo config('website_title'); ?></title>
    <link href="__STATIC__/favicon.ico" rel="shortcut icon">
    <link href="__STATIC__/admin/css/base.css" rel="stylesheet">
    <link href="__STATIC__/admin/css/index.css" rel="stylesheet" />
    <link href="__STATIC__/admin/css/system.css" rel="stylesheet" />
    <script type="text/javascript" src="__STATIC__/common/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="__STATIC__/common/jquery.validate.js"></script>
    <script type="text/javascript" src="__STATIC__/common/jquery.metadata.js"></script>
    <script type='text/javascript' src="__STATIC__/common/jquery.resizableColumns.js"></script>
    <script type="text/javascript" src="__STATIC__/common/plugins/layer/layer.min.js"></script>
    <script type="text/javascript" src="__STATIC__/admin/js/common.js?v=1.0"></script>
    <script type="text/javascript" src="__STATIC__/common/json2.js"></script>
    <script type="text/javascript">
        var json = JSON.parse('<?php echo \think\Config::get('json'); ?>');
        var upload_url = "<?php echo url('common/file'); ?>";
    </script>
</head>
<body>
    <div class="warp tree">
        <div class="head-content">
            <!-- 页面head -->
            <div class="head">
                <div class="user-logo" style="color: #fff;font-size: 30px;width:500px;font-family:Arial,Helvetica,sans-serif;"><?php echo config('website_title'); ?></div>
                <div class="user-info">
                    <p>
                        欢迎[<font color="red"><?php echo get_login_admin_role_name(); ?></font>]<a href="<?php echo Url('admin/admin_info'); ?>"><?php echo get_login_admin_user(); ?></a>的到来 |
                        <!--<a href="<?php echo Url('system/clear_cache_all'); ?>">最新消息（<font color="red">10</font>）</a> |-->
                        <a href="<?php echo Url('system/clear_cache_all'); ?>">清除缓存</a> |
                        <a href="<?php echo Url('login/logout'); ?>">退出</a>
                    </p>
                    <p><span>版本：1.0.0</span><span>最后登录IP：<?php echo get_client_ip(); ?></span></p>
                </div>
            </div>

            <!-- 一级菜单 -->
            <div class="nav-box">
                <ul class="nav" id="_menu_one">
                    <?php if(is_array(\think\Config::get('menu.menu')[1]) || \think\Config::get('menu.menu')[1] instanceof \think\Collection || \think\Config::get('menu.menu')[1] instanceof \think\Paginator): if( count(\think\Config::get('menu.menu')[1])==0 ) : echo "" ;else: foreach(\think\Config::get('menu.menu')[1] as $key=>$menu_one): if(($menu_one['menu_id'] == \think\Config::get('menu.current')[1])): ?>
                            <li class="cur"><a href="<?php echo Url($menu_one['action']); ?>"><span><?php echo $menu_one['name']; ?></span></a></li>
                        <?php else: ?>
                            <li><a href="<?php echo Url($menu_one['action']); ?>"><span><?php echo $menu_one['name']; ?></span></a></li>
                        <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>

            <!-- 内容 -->
            <div class="container">
                <!-- 二级菜单 -->
                <div class="side fl mt10">
                    <!-- 二级菜单 -->
                    <div class="scroll-bar-box">
                        <div class="view-port">
                            <div id="overviewTreeGroup" class="overview">
                                <ul id="_menu_two">
                                    <?php if(is_array(\think\Config::get('menu.menu')[2]) || \think\Config::get('menu.menu')[2] instanceof \think\Collection || \think\Config::get('menu.menu')[2] instanceof \think\Paginator): if( count(\think\Config::get('menu.menu')[2])==0 ) : echo "" ;else: foreach(\think\Config::get('menu.menu')[2] as $key=>$menu_two): if(($menu_two['menu_id'] == \think\Config::get('menu.current')[2])): ?>
                                            <li class="cur"><a href="<?php echo Url($menu_two['action']); ?>"><span><?php echo $menu_two['name']; ?></span></a></li>
                                        <?php else: ?>
                                            <li><a href="<?php echo Url($menu_two['action']); ?>"><span><?php echo $menu_two['name']; ?></span></a></li>
                                        <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 页面主体内容 -->
                <div class="cont mt10">
                    <!-- 收缩条 -->
                    <div id="content_hide" style="position: relative; left:-10px; top: 285px;" ret="1">
                        <div class="effect-btn">
                            <img src="__STATIC__/admin/css/img/btn_icon02.gif" class="left">
                        </div>
                    </div>

                    <!-- 搜索框及工具条 -->
                    <div class="crumbs-box">
                        <div class="crumbs">
                            <!-- 导航条 -->
                            <div class="fl" id="_mini_nav">
                                <a class='blue' href='<?php echo Url(\think\Config::get('menu')["menu"][1][\think\Config::get('menu')["current"][1]]["action"]); ?>'><?php echo \think\Config::get('menu')["menu"][1][\think\Config::get('menu')["current"][1]]["name"]; ?></a>&nbsp;>&nbsp;
                                <a class='blue' href='<?php echo Url(\think\Config::get('menu')["menu"][2][\think\Config::get('menu')["current"][2]]["action"]); ?>'><?php echo \think\Config::get('menu')["menu"][2][\think\Config::get('menu')["current"][2]]["name"]; ?></a>&nbsp;>&nbsp;
                                <a class='blue' href='<?php echo Url(\think\Config::get('menu')["menu"][3][\think\Config::get('menu')["current"][3]]["action"]); ?>'><?php echo \think\Config::get('menu')["menu"][3][\think\Config::get('menu')["current"][3]]["name"]; ?></a>
                            </div>

                            <!-- 返回 -->
                            <span><a class="return" href="javascript:history.go(-1);">返回上一页</a></span>
                        </div>
                    </div>

                    <!-- 编辑区域 -->
                    <div class="lists">
                        <!-- 三级菜单 -->
                        <div class="lists-tab">
                            <strong>
                                <!-- 设置第四级菜单 -->
                                <ul id="_menu_three">
                                    <!-- 设置第四级菜单 -->
                                    <?php if(is_array(\think\Config::get('menu.menu')[3]) || \think\Config::get('menu.menu')[3] instanceof \think\Collection || \think\Config::get('menu.menu')[3] instanceof \think\Paginator): if( count(\think\Config::get('menu.menu')[3])==0 ) : echo "" ;else: foreach(\think\Config::get('menu.menu')[3] as $key=>$menu_three): if(($menu_three['menu_id'] == \think\Config::get('menu.current')[3])): ?>
                                            <li class="current"><a href="<?php echo Url($menu_three['action']); ?>"><?php echo $menu_three['name']; ?></a></li>
                                        <?php else: ?>
                                            <li><a href="<?php echo Url($menu_three['action']); ?>"><?php echo $menu_three['name']; ?></a></li>
                                        <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                                </ul>
                            </strong>
                        </div>

                        <!-- Layout加载内容-->
                        <!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="<?php echo Url('pool_bid_not_list'); ?>">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->

                <ul>
                    <li><span>客户池编号：</span><input type="text" name="user_pool_bid_id" value="<?php echo $user_pool_bid_id; ?>"/></li>
                    <li><span>合作商编号：</span><input type="text" name="cooperate_id" value="<?php echo $cooperate_id; ?>"/></li>
                    <li><span>发标人编号：</span><input type="text" name="cooperate_admin_id" value="<?php echo $cooperate_admin_id; ?>"/></li>
                    <li><span>发标人电话：</span><input type="text" name="phone" value="<?php echo $phone; ?>"/></li>
                    <li><span>用户编号：</span><input type="text" name="user_id" value="<?php echo $user_id; ?>"/></li>
                    <li><span>用户电话：</span><input type="text" name="user_phone" value="<?php echo $user_phone; ?>"/></li>
                    <li><span>状态：</span><?php echo widget('common/Select/select',array('pool_bid_status','pool_bid_status',$pool_bid_status)); ?></li>
                    <li style="width: 100%"><span>所在城市：</span><?php echo widget('common/Select/select_group',array('area',array($area_list,"area_id","acronym","parent_id"),0,$area)); ?></li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>

<!--合作商列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
            <tr>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>客户池编号</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>发标人编号</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>发标人名称</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>发标人电话</p></a></th>
                <th style="width: 7%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户编号</p></a></th>
                <th style="width: 7%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户名称</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户电话</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>意向金额(万元)</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>状态</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>创建时间</p></a></th>
                <th class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
            </tr>
            </thead>
            <tbody>
            <?php if(is_array($user_pool_bid_list) || $user_pool_bid_list instanceof \think\Collection || $user_pool_bid_list instanceof \think\Paginator): if( count($user_pool_bid_list)==0 ) : echo "" ;else: foreach($user_pool_bid_list as $key=>$info): ?>
            <tr>
                <td><?php echo $info['user_pool_bid_id']; ?></td>
                <td><?php echo $info['cooperate_admin_id']; ?></td>
                <td><?php echo widget('common/Name/cooperate_admin',array($info["cooperate_admin_id"])); ?></td>
                <td><?php echo $info['c_phone']; ?></td>
                <td><?php echo $info['user_id']; ?></td>
                <td><?php echo widget('common/Name/user',array($info["user_id"])); ?></td>
                <td><?php echo $info['u_phone']; ?></td>
                <td><?php echo $info['money']; ?></td>
                <td><?php echo widget('common/Color/Color',array("pool_bid_status",$info['pool_bid_status'])); ?></td>
                <td><?php if(empty($info['create_time']) || (($info['create_time'] instanceof \think\Collection || $info['create_time'] instanceof \think\Paginator ) && $info['create_time']->isEmpty())): ?>--<?php else: ?><?php echo $info['create_time']; endif; ?></td>
                <td>
                    <a data-type="info-win" data-src="<?php echo Url('pool_bid_cooperate_info',array('user_pool_bid_id'=>$info['user_pool_bid_id'])); ?>" data-title="意向详情" data-width="80%" data-height="80%" class="blue">意向详情</a>
                    <a data-type="info-win" data-src="<?php echo Url('user/user_info',array('user_id'=>$info['user_id'])); ?>" data-title="用户详情" data-width="80%" data-height="80%" class="blue">用户详情</a>
                    <a data-type="info-win" data-src="<?php echo Url('cooperate_admin/cooperate_admin_info',array('cooperate_admin_id'=>$info['cooperate_admin_id'])); ?>" data-title="客户详情" data-width="90%" data-height="80%" class="blue">合作商详情</a>
                    <?php if($info['pool_bid_status']!=1): ?>
                    <a data-type="info-win" data-src="<?php echo Url('bid_tender_log',array('user_pool_bid_id'=>$info['user_pool_bid_id'])); ?>" data-title="投标详情" data-width="90%" data-height="80%" class="blue">投标详情</a>
                    <a data-type="info-win" data-src="<?php echo Url('pool_bid_not_task_list',array('user_pool_bid_id'=>$info['user_pool_bid_id'])); ?>" data-title="跟踪记录" data-width="80%" data-height="80%" class="blue">跟踪记录</a>
                    <?php endif; ?>
                </td>
            </tr>
            <?php endforeach; endif; else: echo "" ;endif; ?>
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        <?php echo \think\Config::get('page_html'); ?>
    </div>
</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="footer_gp">
        <p>厦门酷融信息科技有限公司版权所有 © Copyright 2014-2017 	闽ICP备18006609号-1</p>
    </div>
</body>
<!-- JS处理 -->
<script language="javascript">
    $(function(){
        //修改列表宽度
        $("div.lists-table table.pointer").width("<?php echo get_screen(); ?>");

        //二级菜单显示异常操作
        $('#content_hide').click(function(){
            //判断二级菜单是否显示
            if($(this).attr("ret") == 1){
                $(this).attr("ret","2");
                $("div.container .side").hide();
                $("div.container .cont").css("width","98.7%");
                $(this).find("img").attr("src","__STATIC__/admin/css/img/btn_icon01.gif");
            }else{
                $(this).attr("ret","1");
                $("div.container .side").show();
                $("div.container .cont").css("width","85.6%");
                $(this).find("img").attr("src","__STATIC__/admin/css/img/btn_icon02.gif");
            }
        });

        //修改列表宽度
        $("div.lists-table table").resizableColumns(function(){});

        //数据检查
        $.metadata.setType('attr', 'validate');
        $('form').validate();

        //重写alert
        window.alert = layer.alert;
    });
</script>
</html>